package com.jsbs.iam.ident.auth;

import lombok.Data;

import java.time.LocalDateTime;

@Data
public class TokenInfo {
    private String phone;
    private String userCode;
    private LocalDateTime createTime;
    private String token;
    private String ip;

    public TokenInfo(String phone, String userCode, LocalDateTime createTime, String token, String ip) {
        this.phone = phone;
        this.userCode = userCode;
        this.createTime = createTime;
        this.token = token;
        this.ip = ip;
    }
}
